package org.cn.cf.auth;

import org.cn.cf.service.ICFService.Type;

/**
 * 权限控制
 * */
public interface ICFAuthority {
	public enum Type{
		local,//本地验证
		remote,//远端严重
		other//其他验证
	}

	public void setType(Type type);
	public Type getType();
	
	public Object getInput();
	public void setInput(Object obj);
	
	public void init(Object obj);
	
	public boolean runAuth();
}
